
<script>
function $(url,id,eval_str){
    if(document.getElementById){var x=(window.ActiveXObject)?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();}
    if(x){x.onreadystatechange=function() {
        el=document.getElementById(id);
        el.innerHTML='loading....';
        if(x.readyState==4&&x.status==200){
            el.innerHTML='';
            el=document.getElementById(id);
            el.innerHTML=x.responseText;
            eval(eval_str);
            }
        }
    x.open("GET",url,true);x.send(null);
    }
}

function change(id){
    $('weather.php?id='+id,'noidung');
}
</script>
<body onLoad="change(document.getElementById('select').value);">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><form name="form1"  method="post" action="">
      <select id="select" name="select" onChange="change(this.value);">
	  <option value="0">TP HCM</option>
        <option value="1">Son la</option>
        <option value="2">Hai phong</option>
        <option value="3">Ha noi</option>
        <option value="4">Vinh</option> 
        <option value="5">Da nang</option>
        <option value="6">Nhan trang</option>
        <option value="7">Pleiku</option>
      </select>
    </form>
    </td>
  </tr>
  <tr>
    <td id="noidung">&nbsp;</td>
  </tr>
</table>
</body>